﻿using Common.Communal;
using MediatR;
using System.ComponentModel.DataAnnotations;

namespace Sell.Api.Write.Application.Command.CustomerCommand
{
    public class CustomerUpdateCommand : IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 客户ID
        /// </summary>
        public int Id { get; set; }
        /// <summary>
        /// 客户编号
        /// </summary>
        public string CustomerCode { get; set; }
        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }
        /// <summary>
        /// 客户类型
        /// </summary>
        public string CustomerType { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string UserPeople { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Phone { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string Desc { get; set; }
    }
}